package com.itheima.service;


import com.itheima.entity.PageResult;

import com.itheima.pojo.Menu;

import java.util.List;

public interface MenuService {


    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    List<Menu> findAll();

    void add(Integer[] menuIds, Menu menu, Integer[] roleIds);

    void deleteById(Integer id);

    List<Integer> findSubMenuIdsByParentMenuId(Integer id);

    void edit(Integer[] menuIds, Menu menu, Integer[] roleIds);

    List<Menu> getPersonallyPages(String username);

}
